package com.oyjd.ybx.bean.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 投诉建议实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_SUGGEST")
public class Suggest implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1922144800150728375L;

	/**
	 * 投诉建议ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "ID", length = 32)
	private String id;

	/**
	 * 标题
	 */
	@Column(name = "TITLE", length = 50)
	private String title;

	/**
	 * 手机或邮箱
	 */
	@Column(name = "PHONE", length = 50)
	private String phone;

	/**
	 * 内容
	 */
	@Column(name = "CONTENT", length = 2000)
	private String content;

	/**
	 * 图片
	 */
	@Column(name = "PIC", length = 100)
	private String pic;

	/**
	 * 客户帐号
	 */
	@Column(name = "CUST_ACCOUNT", length = 32)
	private String custAccount;

	/**
	 * 客户端IP
	 */
	@Column(name = "CUST_IP", length = 15)
	private String custIp;

	/**
	 * 创建时间
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME")
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getCustAccount() {
		return custAccount;
	}

	public void setCustAccount(String custAccount) {
		this.custAccount = custAccount;
	}

	public String getCustIp() {
		return custIp;
	}

	public void setCustIp(String custIp) {
		this.custIp = custIp;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}